Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing of books.name and books.filter.name book selection methods in /search API #1068

Merged
merged 4 commits into from
Mar 6, 2024

Conversation

veloman-yunkan
Copy link
Collaborator

In the kiwix-serve's /search API there are two confusingly similar filtering parameters books.name and books.filter.name. Their effect on book selection is very different from what one might expect from their names. This PR demonstrates the difference via unit tests.

Copy link

codecov bot commented Mar 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 41.07%. Comparing base (a8368b3) to head (e3fffd9).
Report is 77 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1068      +/-   ##
==========================================
+ Coverage   41.05%   41.07%   +0.02%     
==========================================
  Files          58       58              
  Lines        4190     4190              
  Branches     2304     2304              
==========================================
+ Hits         1720     1721       +1     
+ Misses       1003     1001       -2     
- Partials     1467     1468       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mgautierfr mgautierfr merged commit 719e947 into main Mar 6, 2024
16 checks passed
@mgautierfr mgautierfr deleted the zim_name_vs_book_name branch March 6, 2024 14:09
@kelson42 kelson42 added this to the 13.2.0 milestone Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants